﻿using NP.BPMReportPlatform.Entities.BPM_Business.Resume;
using NP.BPMReportPlatform.Resume.Dtos;
using NP.BPMReportPlatform.TalentProfile.Dto;
using NP.BPMReportPlatform.UserTrial.Dto;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.Resume
{
    /// <summary>
    /// 工程接口服务
    /// </summary>
    public interface IResumeService : IApplicationService
    {
        /// <summary>
        /// 获取OSS下载链接
        /// </summary>
        /// <param name="id">id</param>
        /// <param name="type">附件序号</param>
        /// <returns></returns>
        string GetDownloadUri(string id, int type);

        /// <summary>
        /// 查询简历明细
        /// </summary>
        /// <param name="input"></param>
        /// <returns>简历明细列表</returns>
        Task<PagedResultDto<ResumeInfoEntity>> GetResumeInfoListResult(GetResumeInfoInput input);

        /// <summary>
        /// 从ftp同步文件
        /// </summary>
        /// <param name="filePath">文件路径</param>
        /// <returns></returns>
        Task SyncResumeFiles(string filePath = "");
    }
}